import axiosInstance from '@/utils/request.js'
//获取订单结算数据
export function getPaymentAPI() {
  return axiosInstance({
    url: '/member/order/pre'
  })
}

//创建订单
export function createOrderAPI(data) {
  return axiosInstance({
    url: '/member/order',
    method: 'POST',
    data
  })
}
